<?php

/**
* 
*/
class QueryOrderBy
{
	
	protected $_dimension;
	
	protected $_fieldName;
	function __construct($fieldName,$dimension='ASC'){
		$this->_fieldName = $fieldName;
		$this->_dimension = $dimension;
	}
	
	public function __toString(){
		return 'ORDER BY `'.$this->_fieldName.'` '.$this->_dimension;
	}
}
